package com.powerunion.datacollection.workflow.util.observer;

public class Stock extends AbleImp {

	private Float price;
	public Stock(){
		
	}
	public void setPrice(Float price,Float targetPrice){
		this.price = price;
		if(this.price.floatValue() >= targetPrice.floatValue()){
			this.observeOneObject(this.price);
		}
	}
	
	public Float getPrice(){
		return this.price;
	}
}
